package dmir.reaction.utils;

import java.io.File;
import java.io.FileFilter;

public class Filter implements FileFilter {
   
	String filter;
	
	public Filter(String filter) {
		this.filter = filter;
	}

	public boolean accept(File file) {
      return file.getName().endsWith(filter);
	}	
}